getLocalizedValue

fun getLocalizedValue(key: String, defaultValue: String?): String?

Attempts to locate a localized value within this StreamTable. Method takes the original key and then looks for alternative keys using the Locale language tag and then language. For a typical UK Locale, with a key of "key", the results would be retrieved using the keys in this order until one was found: "key.en-GB", "key.en", "key"

Since

MD2024.2(5142)

Return

the localized string value (if present) else "" (never returns null)

Parameters

key

the key

defaultValue

the default string value to return if the key is not located.